-
Home
-
Payment Plugins for PayPal WooCommerce
-
2.0.2 (latest)
-
Code
-
Classes
- PaymentResult
| Total Complexity |
59 |
| Dependencies |
7 |
| Dependents |
9 |
| Total lines |
278 |
| Lines of code |
159 |
| Logical lines of code |
68 |
| Comment lines |
65 |
| Methods |
28 |
| Properties |
8 |
Methods 28
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| determine_success() |
A |
53 |
13 |
21 |
| get_approval_url() |
A |
56 |
8 |
17 |
| needs_approval() |
S |
63 |
7 |
10 |
| initialize() |
S |
57 |
4 |
18 |
| get_failure_response() |
S |
59 |
2 |
15 |
| already_captured() |
S |
78 |
2 |
3 |
| already_authorized() |
S |
78 |
2 |
3 |
| __construct() |
S |
73 |
1 |
5 |
| success() |
S |
82 |
1 |
3 |
| is_captured() |
S |
80 |
1 |
3 |
| is_authorized() |
S |
80 |
1 |
3 |
| get_capture_id() |
S |
80 |
1 |
3 |
| has_payments() |
S |
79 |
1 |
3 |
| get_capture() |
S |
80 |
1 |
3 |
| get_authorization() |
S |
80 |
1 |
3 |
| get_authorization_id() |
S |
81 |
1 |
3 |
| get_authorization_status() |
S |
81 |
1 |
3 |
| get_capture_status() |
S |
81 |
1 |
3 |
| get_error_message() |
S |
82 |
1 |
3 |
| get_paypal_order() |
S |
82 |
1 |
3 |
| set_error_message() |
S |
81 |
1 |
3 |
| get_approval_response() |
S |
68 |
1 |
7 |
| get_success_response() |
S |
70 |
1 |
6 |
| is_production() |
S |
80 |
1 |
3 |
| set_paypal_order_id() |
S |
81 |
1 |
3 |
| set_environment() |
S |
81 |
1 |
3 |
| get_environment() |
S |
82 |
1 |
3 |
| is_wp_error() |
S |
80 |
1 |
3 |